{% extends "base_generic.html" %}

{% block content %}
  <div class="card" style="max-width: 400px; margin: 40px auto;">
    <h1 style="text-align:center;">登录</h1>
    <form method="post">
      {% csrf_token %}
      {{ form.as_p }}
      <button type="submit" class="btn" style="width:100%;margin-top:10px;">登录</button>
    </form>
  </div>
{% endblock %}
